package only.my.railgunys.weapon;

import only.my.railgunys.bean.Character;
import only.my.railgunys.bean.Weapon;

public class LostPrayerSacredWinds extends Weapon {

    public LostPrayerSacredWinds(int refineLevel,int times) {
        this.atk = 608.0;
        this.subStatValue = 33.1;
        this.refineLevel = refineLevel;
        this.name = "四风原典";
        this.code = 7;
        this.times = times;
    }

    @Override
    public Character subStatEnhance(Character character) {
        character.addCritRate(subStatValue);
        return character;
    }

    @Override
    public Character specialAbility(Character character) {
        character.addIncrease(8*times*(1 + (refineLevel - 1) * 0.25));
        return character;
    }
}
